package com.hu.zhcc.shiro.service.lgx;

import com.hu.zhcc.shiro.dao.lgx.TMemberDynamicinfoMapper;
import com.hu.zhcc.shiro.entity.lgx.TMemberDynamicinfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TMemberDynamicinfoServiceImpl implements TMemberDynamicinfoService{
    @Autowired
    TMemberDynamicinfoMapper tMemberDynamicinfoMapper;
    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tMemberDynamicinfoMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TMemberDynamicinfo record) {
        return tMemberDynamicinfoMapper.insert(record);
    }

    @Override
    public int insertSelective(TMemberDynamicinfo record) {
        return tMemberDynamicinfoMapper.insertSelective(record);
    }

    @Override
    public TMemberDynamicinfo selectByPrimaryKey(Integer id) {
        return tMemberDynamicinfoMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TMemberDynamicinfo record) {
        return tMemberDynamicinfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TMemberDynamicinfo record) {
        return tMemberDynamicinfoMapper.updateByPrimaryKey(record);
    }

    @Override
    public TMemberDynamicinfo selectByPrid(int id) {
        return tMemberDynamicinfoMapper.selectByPrid(id);
    }
}
